iRidi for SIP telephony
Tools for creating interfaces for audio and video calls between iRidi client apps (i3 pro), IP phones, and video door phones that support the SIP standard.
Documentation updated: 17.10.2023
Description
iRidi for SIP telephony lets you create a call panel interface that uses the SIP protocol. The i3 pro app can receive and make audio and video calls.
The driver can be used on iRidi Server only to implement PUSH notifications.

The following codecs are supported (disabling the others in the SIP server settings is recommended):
- G711(PCMU(m-law), PCMA(a-law));
- GSM;
- G722;
- H263;
- H263-1998;
- H264.
- Akuvox;
- Dahua;
- True IP (for Russian developers only);
- Mobotix;
- Urmet;
- CAME BPT;
- DoorBird;
- 2N;
- BasIP;
- GUINAZ;
- Fanvil.
Background operation (receiving calls while the app is minimized or closed) is not supported, but you can configure push notifications.
Licensing:
- use i3 pro for free in test mode (via iRidi Transfer)
- purchase an iRidi 3.x license; the SIP telephony add-on is provided free of charge
Ready-made interfaces
Ready-made interfaces for using i3 pro as a SIP intercom/door phone panel
| Project / Device | Functions |
|---|---|
| intercom (smartphone) intercom (tablet, PC) | - dialing keypad - audio and video calls - receiving calls - caller blocklist - call history - server configuration - audio filter configuration |
| simple intercom (smartphone) simple intercom (tablet, PC) | - dialing keypad - audio calls - receiving calls - caller blocklist - audio filter configuration |
| door phone panel (smartphone) door phone panel (tablet, PC) | - door phone call button - receiving calls from the door phone - camera video (if available) - an intercom can be added |
| Mobotix door phone panel (smartphone) Mobotix door phone panel (tablet, PC) | - door phone call button - receiving calls from the door phone - live camera image - door opening - light switching - an intercom can be added |
Equipment configuration and settings required for iRidi to connect to a SIP server and make calls.
SIP server can be hardware- or software-based. The server routes calls between connected users.
SIP user can be iRidi on a smartphone, tablet, or PC, an IP phone, or a video door phone. Users can call each other only through the server.
Configuring the SIP server
A SIP server (PBX server) stores the list of users who can call each other and enables calls to users. Voice communication through a SIP server can be configured between iRidi panels, hardware and software IP phones, and video door phones in an apartment, house, or office.
Audio and video calls can be transmitted over the local network or through routers and the internet.

There are three types of SIP servers:
- software SIP server,
- hardware SIP server,
- SIP server built into video door phones,
- cloud SIP server (Cloud PBX).
iRidi does not provide a ready-made SIP server, so an existing solution must be used.
Select a suitable SIP server and configure several users on it.
A SIP server has the following connection details:
- Host - the server IP address on the local network, or the domain name (Server domain, Realm) for cloud and remote servers,
- Port - 5060 by default.
Each user, whether a call panel or door phone, has the following details:
- SIP ID (SIP number, login) - a unique number or name used to identify the user,
- Password - the user's password to protect the communication channel from unauthorized access,
- Caller ID (Display Name, alias) - any name displayed when receiving a call, for example, Jack Nicholson.
For a successful connection, it is essential that the SIP server and SIP user have the same Host, Port, SIP number, and password configured. Matching Caller ID is not required.
Free SIP server options are listed below.
Check their free-use terms and restrictions.
| Server | Type | Note |
|---|---|---|
| Linphone SIP Service | Cloud | create accounts at linphone.org - each account has a login that must be used as the user number. Server address: sip.linphone.org |
| Linphone Flexisip | software (Linux, Mac OS, Windows, Android, iOS, BlackBerry) | - |
| 3CX Phone System | for installation on a PC (Windows) cloud | Instructions |
| Asterisk FreePBX | for installation on a PC (Linux, Windows) | Instructions |
| FreePBX | for installation on a PC (Linux) | - |
| Elastix | for installation on a PC (Linux) | - |
| Yeastar | cloud | - |
| Zadarma | Cloud | Instructions |
| Antisip | Cloud | Instructions |
Some door phones have built-in SIP servers, for example, models from Mobotix, Dahua, and True IP.
Working in iRidi Studio
Download a call panel interface and configure it in iRidi Studio to connect to the SIP server.
Configuring the SIP driver
- In Project Device Panel, select the SIP driver and specify the SIP server parameters and the user number assigned to the iRidi panel.

-
Name - driver name; do NOT change it in a ready-made interface;
-
Driver Type - driver type information;
-
Protocol - UDP/TCP data transfer protocol;
-
Host - SIP server IP address or domain;
-
Port - SIP server connection port. Usually 5060; for Mobotix T24/T25: 5061;
-
Password - password for connecting the user to the SIP server;
-
Caller ID - user name (can match the SIP number);
-
SIP ID - user's SIP number;
-
SIP server – Mobotix T26, Another;
-
First RTP Port - start of the voice communication port range. Usually 40000; for Mobotix T24/T25: 7078;
-
Last RTP Port - end of the voice communication port range. Usually 41000; for Mobotix T24/T25: 9078. Forward these UDP ports on the router when making calls over the internet;
-
Use SIP TONE - generate SIP tone dialing messages;
-
Use DTMF TONE - generate ordinary tone dialing messages. These are transmitted in the voice stream. Their use is recommended;
-
External IP - external IP address of the control panel. Specify it only if Host contains the address of a remote SIP server. To fill this field automatically for calls over the internet, follow the instructions. In the 3CX SIP server user settings, disable the restriction on connections from the public network;
-
Codec PCMU, Codec PCMA, Codec GSM, Codec G722 - SIP audio codecs. One or all can be enabled at the same time. If none is selected, the codec is selected automatically. Disabling all codecs is not allowed;
-
Codec H263, Codec H263-1998, Codec H264 - SIP video codecs. One or all video codecs can be enabled. If none is selected, the codec is selected automatically during a video call;
-
Audio processing. Switch processing modes during a call. Some modes are enabled using SIP driver commands (see the ready-made projects). Whether to enable processing depends on operating conditions:
- Echo Cancellation - echo cancellation;
- Automatic gain control - automatic gain control for outgoing audio (transmitted from the microphone). It helps reduce clipping, echo, and sudden volume changes, improving outgoing audio quality, but reduces its volume. A value of 0 disables the parameter; 1-31 is the gain adjustment range. The default setting is 20. This audio processing is part of echo cancellation (EchoCancel), so it works only when EchoCancel is enabled.
- Activation By Voice - voice activation. The app sends audio only when speech is present and mutes it at other times. This setting helps eliminate background noise during a conversation.
-
Expires - SIP server registration expiry interval. After the specified interval (in seconds), the user automatically starts reregistration. This function is important for some SIP servers that periodically update registration status;
- Voice Mail - enable voicemail. If the i3 pro user is busy, disconnected, or simply unable to answer, the answering service offers the caller the option to save a voice message as an audio file stored on the SIP server. The i3 pro user can listen to messages later by calling a special number. Note that the SIP server must support voicemail;
- Use Decline - send DECLINE together with CANCEL when ending a call (required for correct call termination with some panels, for example, 2N);
- Preview Mode - preview mode. When an incoming call arrives, the caller hears only the ringback tone and cannot see or hear you until you answer by sending ANSWER. Meanwhile, you receive the caller's audio and video (if it is a video call);
- Do Not Disturb - do not disturb mode. Automatically declines all incoming calls when enabled.
-
Call panel status after successful server connection: On Hook... (SIP > Feedback > STATUS)
-
To use the call panel without changes, upload the project to the control panel.
-
To add the call panel to your existing project, follow the instructions in the video.
SIP driver commands and feedback channels
Ready-made call panel interfaces use SIP driver commands and messages to make and receive calls. Calls are processed by a JavaScript file, without which the visual interface will not work correctly.
The following SIP driver commands and feedback channels can be used when modifying JavaScript handlers or directly by linking commands and channels to GUI items:

Commands:
- ANSWER - answer an incoming call. Link the command to a button:
- Send Number: 0 - answer with an audio call;
- Send Number: 1 - answer with a video call.
- CALL - make a call. First write the destination number to Feedbacks > NUMBER as a string. Link the command to a button:
- Send Number: 0 - audio call;
- Send Number: 1 - video call.
- CANCEL - cancel a call. Link the command to a button, Send Number: 0;
- SEND TONE - send a tone value. Link the command to a button, Send Number: 1-9; * = 10; # = 11;
- REGISTER - register with the SIP server. Link the command to a button, Send Number: 0;
- UNREGISTER - disconnect from the SIP server. Link the command to a button, Send Number: 0;
- SET AUDIO VOLUME - speaker volume (0-100%);
- SET ECHO CANCELATION - echo cancellation on/off (1/0);
- SET MIC VOLUME - microphone volume (0-100%);
- SET SPEECH SEND - enable/disable (1/0) the Activation By Voice setting;
- P2P CALL - make a direct call to the other user's IP address without a SIP server:
- Send Number: 0 - audio call;
- Send Number: 1 - video call.
- TRANSFER CALL - forward an incoming call to the specified number. Write the destination number to this command.
Feedback:
- AUDIO VOLUME - speaker volume (0-100%);
- CODEC - audio and video data type: Payload Type (PT) see the full list;
- DTMF CODE - last DTMF code value sent to the client.
- ECHO CANCELATION - echo cancellation on/off (1/0);
- EXPIRES - SIP server registration expiry interval;
- FIRST RTP PORT - first port in the RTP range;
- INCOMING CALL - whether there is an incoming call: 0 - no, 1 - yes;
- INCOMING CALL NAME - caller name, text;
- INCOMING CALL NUMBER - caller number, text;
- JITTER - (ms) connection quality, channel jitter. Fluctuating values above 30 ms may indicate an unstable connection;
- LAST RTP PORT - last port in the RTP range;
- MESSAGE ACCOUNT - voicemail account user ID;
- MESSAGE LISTNED - number of read voice messages;
- MESSAGE UNLISTENED - number of unread voice messages;
- MIC VOLUME - microphone volume (0-100%);
- NUMBER - user number. Write a value to this Feedback through the Send to Project Token > Send Number dialog in the macro editor to call the specified user when CALL is executed;
- STATUS - current connection status (as text):
- On Hook... - connected to the SIP server, ready;
- Connected... - connection established, preparing to register;
- Disconnected... - forcibly disconnected from the server (by a driver command);
- Failed... - connection creation error (not related to the SIP server);
- Trying... - call request is being processed;
- Ringing... - the called user's location has been determined. An incoming call signal has been issued;
- Incoming Call... - incoming call;
- Talking... - conversation in progress;
- Preview... - preview mode, activated by an incoming call; lets you see/hear the caller before pressing the answer button (works only when Preview Mode is enabled in the STATUS feedback settings);
- Not Found... - the called user was not found; no such SIP number;
- Not Acceptable... - connection to the server was established, but specific parameters such as the requested information type, bandwidth, or addressing type are unavailable;
- Not Available... - the called user is unavailable for calls;
- Declined... - the called user does not wish to accept incoming calls and provides no reason for declining;
- Request Pending... - the request arrived while the server was still processing another request for the same dialog;
- Service Unavailable... - the server cannot handle the call at this time due to overload or maintenance.
- USED DTMF TONE - DTMF tone dialing use: 0 - not used, 1 - used;
- USED SIP TONE - SIP tone dialing use: 0 - not used, 1 - used;
- WAITING MESSAGE - whether the user has new voicemail messages: 0 - no new messages, 1 - new unplayed messages are present.
SIP scripting examples
Outgoing call to a number
Use the SIP driver's .Set() method. Sending one to CALL makes a video call; sending zero makes an audio call. Specify the destination number before calling.
var SIP = IR.GetDevice("SIP"); // name of SIP driver
SIP.SetFeedback("NUMBER", "4001"); //4001 - number to call
SIP.Set("CALL", 1); // 1 - videocall
Receiving an incoming call
Similar to an outgoing call, but there is no need to specify a number.
var SIP = IR.GetDevice("SIP"); // name of SIP driver
SIP.Set("ANSWER", 0); // 0 - audiocall
Canceling an incoming call
Send 0 to CANCEL.
var SIP = IR.GetDevice("SIP"); // name of SIP driver
SIP.Set("CANCEL", 0);
Forwarding an incoming call
The caller is redirected to call the specified number.
var SIP = IR.GetDevice("SIP"); // name of SIP driver
SIP.Set("TRANSFER CALL", "103"); // 103 - number to transfer
Calling over a P2P connection
A direct call to the other user's IP address without a SIP server.
var SIP = IR.GetDevice("SIP"); // name of SIP driver
SIP.SetFeedback("P2P CALL IP", “192.168.0.33”); // 192.168.0.33 - IP adress to p2p call
SIP.Set("P2P CALL", 0); // 0 - audiocall, 1 - videocall
Opening the door phone lock using DTMF or SIP tones
DTMF and SIP tones are keypress signals transmitted between users over SIP. Door phones can recognize these signals and perform specific actions, such as opening a lock. Configure a door opening code in the door phone, for example, 123.
var SIP = IR.GetDevice("SIP"); // name of SIP driver
SIP.Set("SEND TONE", 1); // tone of '1' key
SIP.Set("SEND TONE", 2); // tone of '2' key
SIP.Set("SEND TONE", 3); // tone of '3' key
SIP.Set("SEND TONE", 11); // tone of '#' key
In the SIP driver, Use DTMF TONE or Use SIP TONE must be set to True.
Make sure the SIP server and door phone support sending and receiving DTMF or SIP tones.
The lock can be opened using DTMF or SIP tones only while connected to the outdoor door phone panel.
Door phones usually support alternative lock-opening methods through special HTTP requests. These may be more convenient because no connection to the door phone needs to be established, and the lock can be opened at any time.
Configuring different video door phone models
Recommended door phones and call panels can be connected to SIP servers as users to make audio and video calls:
| Akuvox | ![]() |
| Dahua | ![]() |
| True IP for Russian developers only | ![]() |
| Mobotix | ![]() |
| Urmet | |
| CAME BPT | |
| DoorBird | ![]() |
| 2N | ![]() |
| BasIP | ![]() |
| GUINAZ | ![]() |
| Fanvil | ![]() |








